import request from '@/utils/request-server'


// 根据用户ID获取通知列表 
export function getNotificationByUserId(params) {
  return request({
    url: '/zym/notification/getNotificationByUserId',
    method: 'get',
    params
  })
}

// 更新通知为已读
export function updateNotificationRead(params) {
  return request({
    url: '/zym/notification/updateNotificationRead',
    method: 'get',
    params
  })
}